<?php


namespace app\home\validate;


class ProcessReport extends Base
{
    protected $rule = [
        'correlation_order' => 'require',
        'material_dossier_id' => 'require',
        'craft_detail_id' => 'require',
        'pricing_mode' => 'require',
        'u_g_id' => 'require',
        'orderDate' => 'require',
        'qualifiedNum' => 'require',
        'passNum' => 'require',
        'wasteNum' => 'require',
        'is_end' => 'require',
        'status' => 'require',
    ];

    protected $message = [

    ];

    protected $scene = [
        'processReport' => ['correlation_order', 'material_dossier_id', 'craft_detail_id',
            'pricing_mode', 'u_g_id', 'orderDate', 'qualifiedNum',
            'passNum', 'wasteNum', 'is_end', 'status'],
        'edit' => ['id', 'title', 'status'],
    ];
}